UCF STIG Viewer Logo

vSphere UI must be configured to hide the server version.


Overview

Finding ID Version Rule ID IA Controls Severity
V-256801 VCUI-70-000024 SV-256801r889402_rule Medium
Description
Web servers will often display error messages to client users with enough information to aid in the debugging of the error. The information given back in error messages may display the web server type, version, patches installed, plug-ins and modules installed, type of code being used by the hosted application, and any backends being used for data storage. This information could be used by an attacker to blueprint what type of attacks might be successful. Therefore, vSphere UI must be configured to hide the server version at all times.
STIG Date
VMware vSphere 7.0 vCenter Appliance UI Security Technical Implementation Guide 2023-06-15

Details

Check Text ( C-60476r889400_chk )
At the command prompt, run the following command:

# xmllint --xpath '/Server/Service/Connector[@port="${http.port}"]/@server' /usr/lib/vmware-vsphere-ui/server/conf/server.xml

Expected result:

server="Anonymous"

If the output does not match the expected result, this is a finding.
Fix Text (F-60419r889401_fix)
Navigate to and open:

/usr/lib/vmware-vsphere-ui/server/conf/server.xml

Navigate to each of the nodes.

Configure each node with 'server="Anonymous"'.

Restart the service with the following command:

# vmon-cli --restart vsphere-ui